Accelerator Modeling with MATLAB Accelerator Toolbox
نویسنده
چکیده
This paper introduces Accelerator Toolbox (AT) a collection of tools to model storage rings and beam transport lines in the MATLAB environment. The objective is to illustrate the flexibility and efficiency of the AT–MATLAB framework. The paper discusses three examples of problems that are analyzed frequently in connection with ring-based synchrotron light sources. 1 BACKGROUND AT is being developed to support the ongoing design and future operations of the SPERA3 light source [1]. Unlike most existing accelerator codes, AT is not a standalone program or a class library, but a MATLAB toolbox. The user accesses it from within MATLAB. AT is a collection of functions and scripts that: • Create and manipulate accelerator data structures in the MATLAB workspace (lattice tools) • Simulate particle motion through elements and sequences of elements (low-level physics tools) • Compute accelerator parameters and beam properties (high-level physics tools) This approach has a number of benefits for the end user and developer. • AT tools take advantage of a large library of math functions that are part of MATLAB or its toolboxes such as matrix algebra, FFT, optimization and control. • The users can add new physics tools to AT with minimum programming in MATLAB scripting language. • Results of all calculations are immediately available for further analysis and visualization using MATLAB graphics. A detailed introduction and tutorial on AT can be found in [2]. Current version 1.1 for Windows and Linux is available for download from [3]. 2 ACCELERATOR MODELING Examples in this section illustrate the use of several high-level physics functions recently added to AT. Scripts, that demonstrate the use of these functions and produce the plots in this paper, are included with AT distribution in the directory. 2.1 Linear Analysis of Coupled Lattices The formalism developed in [4] leads to a full-turn transfer matrix in the form: (1)
منابع مشابه
Channel Access Client Toolbox for Matlab
This paper reports on MATLAB Channel Access (MCA) Toolbox – MATLAB [1] interface to EPICS Channel Access (CA) client library. We are developing the toolbox for SPEAR3 accelerator controls, but it is of general use for accelerator and experimental physics applications programming. It is packaged as a MATLAB toolbox to allow easy development of complex CA client applications entirely in MATLAB. T...
متن کاملSiemens primus accelerator simulation using EGSnrc Monte Carlo code and gel dosimetry validation with optical computed tomography system by EGSnrc code
Monte Carlo method is the most accurate method for simulation of radiation therapy equipment. The linear accelerators (linac) are currently the most widely used machines in radiation therapy centers. Monte Carlo modeling of the Siemens Primus linear accelerator in 6 MeV beams was used. Square field size of 10 × 10 cm2 produced by the jaws was compared with TLD. Head simulation of Siemens accele...
متن کاملطراحی و ساخت نخستین شتابدهنده پرقدرت صنعتی الکترون ساخت ایران
In This paper we will introduce the process of design and manufacturing an electron accelerator with 10MeV energy and 100kW power as the first Iranian powerful industrial electron accelerator. This accelerator designed based on modeling of one of the most powerful industrial accelerator called Rhodotron. But the design of the accelerator in a way that can be localize by relying on domestic indu...
متن کاملMatlab-like Environment for Accelerator Modeling and Simulation
A modern GUI does not always provide flexible programmability for users. This becomes apparent in the case of an accelerator control system that has adopted a modern interactive GUI environment. If the specifications for such a system can cover all the needs of its future users, the software developers would be able to preprogram the required functionality with the support of a GUI. However, it...
متن کاملCoupling Nonlinear Element Free Galerkin and Linear Galerkin Finite Volume Solver for 2D Modeling of Local Plasticity in Structural Material
This paper introduces a computational strategy to collaboratively develop the Galerkin Finite Volume Method (GFVM) as one of the most straightforward and efficient explicit numerical methods to solve structural problems encountering material nonlinearity in a small limited area, while the remainder of the domain represents a linear elastic behavior. In this regard, the Element Free Galerkin met...
متن کامل